package com.desire.remote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Map;

/**
 * @Description:
 * @Author: littleDesire
 * @Date: 2022-06-08 16:45
 * @Version: 1.0
 */
@FeignClient(value = "ERP-STOCK")
public interface StockRemoteClient {
    /**
     * 查询库存
     * @return
     */
    @GetMapping("/stock/query")
    Map<String, Object> query();
}
